.TH readint_socket 3  "January 28, 2009" "version 1.0.001" "Socket library manual"
.SH NAME
readint_socket \- read integers from socket
.SH SYNOPSIS
.nf
\fB#include "types.h"
#include "channel.h"

Bool readint_socket(Socket *\fIsocket\fB,int *\fIdata\fB,int \fIn\fB);\fP

.fi
.SH DESCRIPTION
Function reads integer data from open socket.
The arguments of \fBreadint_socket\fP are:
.TP
.I socket
Pointer to socket. Socket must be opened by \fBopen_socket()\fP or \fBconnect_socket()\fP.
.TP
.I data
Integer data to read from socket.
.TP
.I n
Number of integer values to read.
.SH RETURN VALUE
Upon successful completion FALSE is returned and TRUE on failure.

.SH AUTHORS

For authors and contributors see AUTHORS file

.SH COPYRIGHT

(C) Potsdam Institute for Climate Impact Research (PIK), see COPYRIGHT file

.SH SEE ALSO
close_socket(3), open_socket(3), connect_socket(3), writeint_socket(3)
